//
//  MyThirdCell.m
//  AnnCar_user
//
//  Created by LiBenCan on 17/10/23.
//  Copyright © 2017年 LiBenCan. All rights reserved.
//

#import "MyThirdCell.h"
#import "smallView.h"
@implementation MyThirdCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        self.backgroundColor = [UIColor whiteColor];
    }
    return self;
}

- (void)loadCellTitle:(NSString *)titleStr ImageArr:(NSString *)imageStr
{
    for (UIView *view in self.contentView.subviews) {
        [view removeFromSuperview];
    }
    //按钮
    _btnView = [[smallView alloc]initWithFrame:CGRectMake(0, 0, SCREENW-100*screenW_6, 49*screenW_6) Title:titleStr BtnImage:imageStr];
    [self.contentView addSubview:_btnView];
    
    //箭头
    _imageV = [TomamaUI createImageView:CGRectMake(SCREENW-22*screenW_6,18.5*screenW_6,7*screenW_6, 13*screenW_6) backGroundImageV:@"My_arrow"];
    [self.contentView addSubview:_imageV];
    
    //线条
    [self.contentView addSubview:[ToolViewVC addCellLineLab:CGRectMake(15*screenW_6, 49*screenW_6, SCREENW-15*screenW_6, 1*screenW_6)]];
    
}

@end
